<!-- wxi modal box layer -->
<div class="modal fade" id="wx-modal" role="dialog">
    <div class="modal-dialog">
        <div class="modal-content">

            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">
                    <span aria-hidden="true">&times;</span>
                    <span class="sr-only">关闭</span>
                </button>
                <h5 class="modal-title"></h5>
            </div>

            <div class="modal-body">
            </div>

            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                <button type="button" class="btn btn-primary">确认</button>
            </div>
        </div>
    </div>
</div>
<!--/ end wxi modal -->

<!-- jQuery 2.1.4 -->
<script src="{{ asset('plugins/jQuery/jQuery-2.1.4.min.js') }}"></script>
<!-- jQuery UI 1.11.4 -->
<script src="{{ asset('js/jquery-ui.min.js') }}"></script>

<!-- Bootstrap 3.3.2 JS -->
<script src="{{ asset('bootstrap/js/bootstrap.min.js') }}"></script>

<script src="{{ asset('js/select2.min.js') }}"></script>

{% if pg_login is not defined %}
{% javascripts
'@ShopAdminBundle/Resources/public/dist/js/app.min.js'
%}
<script src="{{ asset_url }}"></script>
{% endjavascripts %}
{% endif %}

<!-- page hook js -->
<script src="{{ asset('js/wxi.js') }}"></script>
<script src="{{ asset('js/wxi-util.js') }}"></script>
<script src="{{ asset('js/wxi-ui.js') }}"></script>
<script src="{{ asset('plugins/datepicker/bootstrap-datepicker.js') }}"></script>

<script src="{{ asset('plugins/daterangepicker/moment.min.js') }}"></script>
<script src="{{ asset('plugins/daterangepicker/daterangepicker.js') }}"></script>

<script>
    wxi.setConfig({
        jsBaseUrl: '/js/',
        cssBaseUrl: '/css/'
    }).map([

        //add your js file here

    ], function(js){
        wxi.require(js);
    });

    wxi.require('admin/footer.js');

</script>


